package com.example.demo.service;

import java.util.List;

import com.example.demo.domain.Article;
import com.example.demo.domain.User;
import com.example.demo.domain.dto.ArticleDTO;

/**
 * 
 * 包含Article与ArticleDTO的服务
 *
 */
public interface ArticleService {
	List<ArticleDTO> loadAllArticleDTOByUser(User user);
	List<ArticleDTO> loadAllArticleDTO();
	List<ArticleDTO> loadAllArticleDTOsByTag(Integer tid);
 	ArticleDTO loadArticleDTOByAid(Long aid);
	Integer addArticle(Article article);
}
